<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
        <title>myMoney</title>
      
      	<link type="text/css" rel="stylesheet" href="/static/default.css" />
      	<link rel="shortcut icon" href="/static/favicon.ico" />
    	<link rel="icon" type="image/png" href="/static/favicon.png">
    	
    	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
    	<link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/flick/jquery-ui.css" />
    </head>
    <body id="">
        <header>
            <div id="header">
                <div id="menu">
                    <ul>
                        <li><a href="/">Home</a></li>
                        <li class="drop"><a href="/account/list">Accounts</a>
                            <div>
                                <ul>
                                    <li><a href="/account/list">Manage accounts</a></li>
                                    <li><a href="/account/submit">Add account</a></li>
                                    {% if accounts %}
                                        <li class="separator"><hr /></li>
                                        {% for account in accounts %}
                                            <li><a href="/account/view?key={{ account.key() }}">{{ account.title }}</a></li>
                                        {% endfor %}
                                    {% endif %}
                                </ul>
                            </div>
                        </li>
                        <li class="drop"><a href="/payee/list">Payees</a>
                            <div>
                                <ul>
                                    <li><a href="/payee/list">Manage payees</a></li>
                                    <li><a href="/payee/submit">Add payee</a></li>
                                </ul>
                            </div>
                        </li>
                        <li class="drop"><a href="/category/list">Categories</a>
                            <div>
                                <ul>
                                    <li><a href="/category/list">Manage categories</a></li>
                                    <li><a href="/category/submit">Add category</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </header>
        {% block content %}
        {% endblock %}
    </body>
</html>